windowsinternetshortcut.htmlHTMLudog!fπùΔ§πùΔ§ÅÅfl‹ Monkeybread Realbasic plugin - Documentation - WindowsInternetShortCut

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class WindowsInternetShortCut

class, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: A class to create internet shortcuts on Windows.
Example:
#if targetwin32
dim w as WindowsInternetShortCut

w=new WindowsInternetShortCut

w.URL="http://www.monkeybreadsoftware.de"
w.Command=3
w.Icon=windowsSystemFolder.child("shell32.dll")
w.iconID=41
w.Location=desktopfolder.child("A new link to explorer.lnk")
w.Working=volume(0)

if w.CreateInternetShortCut then
if w.AddInternetShortCutIcon then
msgBox "Shortcut created."
else
msgBox "Failed to add icon."
end if
else
msgBox "Failed to create shortcut."
end if
#endif

AddShortCutIcon as boolean

method, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: -> false. Windows: Works.
Function: Adds an icon to the shortcut on the specified location.

Command as integer

property, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: -> nil. Windows: Works.
Function: The code for the showing of the application.
Notes: Use e.g. 3 for full screen.

CreateInternetShortCut as boolean

method, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: -> false. Mac OS Carbon: -> false. Windows: Works.
Function: Creates a shortcut on the specified location.

Icon as folderitem

property, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: -> nil. Windows: Works.
Function: The location of the icon file.

IconID as integer

property, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: -> 0. Mac OS Carbon: -> 0. Windows: Works.
Function: The ID of the icon inside the icon file.

Location as Folderitem

property, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: -> nil. Windows: Works.
Function: The location where the shortcut is created or modified.

url as string

property, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: -> nil. Windows: Works.
Function: The URL where the shortcut will point to.

Working as folderitem

property, Windows Shortcuts Do, 29. Aug 2002
Mac OS Classic: -> nil. Mac OS Carbon: -> nil. Windows: Works.
Function: The working directory for the browser.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ